<style type="text/css">
<!--
    div.zone { border: none; border-radius: 6mm; background: #FFFFFF; border-collapse: collapse; padding:3mm; font-size: 2.7mm;}
    h1 { padding: 0; margin: 0; color: #DD0000;}
    h2 { padding: 0; margin: 0; color: #222222; font-size: 5mm; position: relative; }
    h3 { padding: 0; margin: 0; color: #DD0000; font-size: 5mm;}
-->
</style>
<page format="100x200" orientation="L" backcolor="#AAAACC" style="font: arial;">
    <div style="rotate: 90; position: absolute; width: 100mm; height: 4mm; left: 195mm; top: 0; font-style: italic; font-weight: normal; text-align: center; font-size: 2.5mm;">
        重庆广播电视大学重庆工商职业学院质量工程项目经费报销记录单
    </div>
    <table style="width: 99%;border: none;" cellspacing="4mm" cellpadding="0">
        <tr>
            <td colspan="2" style="width: 100%">
                <div class="zone" style="height: 34mm;position: relative;font-size: 4mm;">
                    <div style="position: absolute; right: 3mm; top: 3mm; text-align: right; font-size: 4mm; ">
                        SN：<b><?=date("YmdHis",time())?></b><br>
                    </div>
                    <div style="position: absolute; right: 3mm; bottom: 4mm; text-align: right; font-size: 4mm;line-height:5mm; ">
                        <b>未报销经费 ：</b><b><?=$unsubmit_fund?></b>元<br>
                        <b>项目编号 ：</b><b><?=$project_NO?></b><br>
                        项目类型 ：<b><?=$rank.$category?></b><br>
                        报销提交时间 ：<b><?php echo date('Y-m-d H:i:s',$fund_time); ?></b><br>
                    </div>
                    <h3><?php echo $fund_title;?></h3>
                    报销人：<b><?=$teacher_name?></b><br>
                    <div style="margin-top:3mm;margin-left:20mm;width:40mm">
                        <h1>￥<?=$fund_num.".00"?></h1>
                    </div>
                    <!--<img src="./res/logo.gif" alt="logo" style="margin-top: 3mm; margin-left: 20mm">-->
                </div>
            </td>
        </tr>
        <tr>
            <td style="width: 25%;">
                <div class="zone" style="height: 40mm;vertical-align: middle;text-align: center;">
                    <qrcode value="<?php echo $qrcode; ?>" ec="H" style="width: 37mm; border: none;" ></qrcode>
                </div>
            </td>
            <td style="width: 75%;">
                <div class="zone" style="height: 40mm;vertical-align: middle; text-align: justify">
                    <b>项目名称：<?=$project_name?></b><br>
                    <b>报销备注：</b><br>
                    <div style="width:80%;height:25mm;vertical-align:middle;text-align:center;">
                        <?php
                            echo html2pdf_word_wrap($fund_content);
                        ?>
                    </div>
                    <br>
                    <i>注：此页仅供记账使用凭证，表明项目经费已被记录。教务处项目管理科保留最终解释权。</i>
                </div>
            </td>
        </tr>
    </table>
</page>